package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.MatchType;
import org.hxyjs.entity.MatchTypeExample;
@Mapper
public interface MatchTypeMapper {
    long countByExample(MatchTypeExample example);

    int deleteByExample(MatchTypeExample example);

    int deleteByPrimaryKey(String matno);

    int insert(MatchType record);

    int insertSelective(MatchType record);

    List<MatchType> selectByExample(MatchTypeExample example);

    MatchType selectByPrimaryKey(String matno);

    List<MatchType> getMatchTypeByPage(Map<String, Object> map);

    String getMaxMatno();

    int updateByExampleSelective(@Param("record") MatchType record, @Param("example") MatchTypeExample example);

    int updateByExample(@Param("record") MatchType record, @Param("example") MatchTypeExample example);

    int updateByPrimaryKeySelective(MatchType record);

    int updateByPrimaryKey(MatchType record);
}